package com.uwlaser.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
* @author huangpan
* @date 2022-12-02
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class FactoryPlanHaltProductionDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "所属模型")
    private String templateCode;

    @ApiModelProperty(value = "名称")
    private String holidaysName;

    @ApiModelProperty(value = "时间类型;0：指定时间段，1：按周，2：按月")
    private String configType;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "备注说明")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "指定星期:1:每周一,2:每周二,3.每周三,4:每周四,5:每周五,6:每周六,7:每周日")
    private String specifyTheWeek;

    @ApiModelProperty(value = "年月")
    private String years;

    @ApiModelProperty(value = "停机时长")
    private Double duration;
}
